package signAction;

import signBean.AdminDbManager;

public class AdminDeleteAction {
	private String id[];
	
	public String execute(){
		AdminDbManager db = new AdminDbManager();
		if(id==null){
			return "delete";
		}else{
			for(int i=0;i<id.length;i++){
				db.deletePerson(id[i]);
			}
		}	
		
			return "delete";
	}

	public String[] getId() {
		return id;
	}

	public void setId(String[] id) {
		this.id = id;
	}
}
